<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<?php 
	$ci = & get_instance();
	if(!isUserLogin()){
		redirect(site_url());exit();
	}
 
?>
<div id="center_content">
	<div class="clrboth"></div>
	<div class="block">
		<div class="title"><h2 style="font-weight:bold;">Dashboard</h2></div>
		<div class="clrboth"></div>
		<div class="content">
			<div class="class_1per4">
				<span class="profile">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/profile");?>">Profile</a>
			</div>
			<div class="class_1per4">
				<span class="addcoins">&nbsp;</span>     
        <?php  $add_coins = site_url('blog/view/how-to-get-cxcoins'); //cricket/account/add_coins          ?>
				<a href="<?php echo $add_coins;?>">Add <?php echo loadCX();?> coins</a>
			</div>
			<div class="class_1per4">
			<!--	<span class="deposit">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/deposit_funds");?>">Deposit Funds</a>
				-->
				<span class="subscriptions">&nbsp;</span>
					<a href="<?php echo site_url("cricket/account/subscriptions");?>">Subscriptions</a>
				</div>
			<div class="class_1per4 notboderright">
				<span class="redeem">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/redeem_coupon");?>">Redeem Coupon</a>
			</div>
			
			<div class="clrboth"></div>
			
			<div class="class_1per4">
				<span class="bet_history">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/predict_history");?>">Prediction History</a>
			</div>
			<div class="class_1per4">
				<span class="shipping">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/shipping_info");?>">Shipping Status</a>
			</div>
			<div class="class_1per4">
				<span class="refer">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/refer_friend");?>">Refer a Friend</a>
			</div>
			<div class="class_1per4 notboderright">
				<span class="convertion_history">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/convertion_history");?>" style="line-height:15px;height:40px;margin-top:5px;">Convertion History</a>
			<!--
				<span class="transaction">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/transaction_history");?>" style="line-height:15px;height:40px;margin-top:5px;">Transaction History</a>
			-->
			</div>
			
			<div class="clrboth"></div>
			
			<div class="class_1per4">
			<!--
				<span class="convertion_history">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/convertion_history");?>" style="line-height:15px;height:40px;margin-top:5px;">Convertion History</a>
			-->
			</div>
			<div class="class_1per4">
			<!--
				<span class="subscriptions">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/subscriptions");?>">Subscriptions</a>
				-->
			</div>
			<div class="class_1per4"> 
			<!--
				<span class="addcoins">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/my_cod_orders");?>" style="line-height: 15px;height:40px;margin-top:5px;">Cash On Delivery Orders</a>
			-->
			</div>
			<div class="class_1per4 notboderright">
			<!--
				<span class="shipping">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/redeem_cod_coupon");?>">Redeem COD Coupon</a>
				-->
			</div>
			
			<div class="clrboth"></div>
			
			<div class="class_1per2 notboderbottom">
			<!--
				<span class="live_tournaments">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/my_live_tournaments");?>">My Live Tournaments</a>
			-->
			</div>
			<div class="class_1per2 notboderbottom notboderright">
			<!--
				<span class="closed_tournaments">&nbsp;</span>
				<a href="<?php echo site_url("cricket/account/my_closed_tournaments");?>">My Closed Tournaments</a>
			-->
			</div>
			<div class="clrboth"></div>
		</div>
	</div>	
	<div class="clrboth"></div>
</div>				